package io.hx.modules.patient.dao;

import io.hx.modules.patient.entity.FilesEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * 患者档案
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2023-03-22 14:51:39
 */
@Mapper
public interface FilesDao extends BaseMapper<FilesEntity> {

    FilesEntity queryByUserId(Integer userId);

    void updateByUserId(FilesEntity filesEntity);

    Integer countVisit(Integer userId);
}
